#include "mp5.h"

void show_queue() {
    // Display entire process queue
}

int new_job(int jobnum, int time, int running_time, int priority) {

    /* This function is called every time 
       a new job enters the queue. */

    int current_job;

    /* Insert code below to decide which job to run next if there 
       is more than one active job. Call that job: current_job */


    return current_job;

    /* If the processor is idle, return -1 */
    return -1;
}

int job_finished(int jobnum, int time) {

    /* This function is called every time 
       the current job finishes. */

    int current_job;

    /* Insert code below to decide which job to run next if the
       processor is not idle. Call that job: current_job */

    return current_job;

    /* If the processor is idle, return -1 */
    return -1;
}

int quantum_expired(int time) {

    /* This function is called in a round-robin schedule
       every time the time quantum expires. */

    int current_job;

    /* Insert code below to decide which job to run next if the
       processor is not idle. Call that job: current_job */

    return current_job;

    /* If the processor is idle, return -1 */
    return -1;
}

float average_response_time() {
    // Implement this function.
    return 0.0;
}

float average_wait_time() {
    // Implement this function.
    return 0.0;
}

float average_turnaround_time() {
    // Implement this function.
    return 0.0;
}

